package hcn.sync.service;

import ctd.util.annotation.RpcService;
import hcn.sync.core.row.ResultMeta;
import hcn.sync.exception.SynchronizeException;


/**
 * Created by chase on 2016/11/22.
 */
public interface LogServiceLoader {
    @RpcService
    public void submitLogs(ResultMeta rowMeta) throws SynchronizeException;

    @RpcService
    public void submitBatchLogs(ResultMeta rowMeta) throws SynchronizeException;

    @RpcService
    public void updateBatchLogs(ResultMeta rowMeta) throws SynchronizeException;

    @RpcService
    public void submitStatus(ResultMeta rowMeta) throws SynchronizeException;

    @RpcService
    public void submitException(ResultMeta rowMeta) throws SynchronizeException;

    @RpcService
    public void createLogDefault(ResultMeta rowMeta, String actionType, Long lines) throws SynchronizeException;

    public void createDataDefault(ResultMeta rowMeta, String serviceName, String methodName, String xml) throws SynchronizeException;

    @RpcService
    public void createDefault(ResultMeta rowMeta, String actionType, Long lines, String serviceName, String methodName, String xml) throws SynchronizeException;
}
